package org.ccay.excel.exporter;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.ccay.core.base.PageVO;

/**
 * 导出任务上下文	
 * @author chaowangbang
 * @since 2012-5-24
 */
public class ExportTaskRequest implements Serializable{
	
	private static final long serialVersionUID = 6647856196324501631L;

	/**
	 * 条件对象
	 */
	private Serializable conditionObject;
	
	/**
	 * 筛选分页对象
	 */
	private PageVO pageObject;
	
	/**
	 * 任务ID
	 */
	private String taskId; 
	
	/**
	 * 任务类型
	 */
	private String excelType ;
	
	
	private Integer totalCount;
	
	//服务器产生的文件
	private String fileStore;
	
	//文件大小
	private long fileSize;
	
	//文件名称
	private String fileName;
	
	/**
	 * 用户的语言设置
	 */
	private String userLanguage;
	
	/**
	 * 附加参数 可以存储序列化后的对象
	 */
	private Map<String, Object> parameters = new HashMap<String, Object>();

	/**
	 * @return the conditionObject
	 */
	public Serializable getConditionObject() {
		return conditionObject;
	}

	/**
	 * @param conditionObject the conditionObject to set
	 */
	public void setConditionObject(Serializable conditionObject) {
		this.conditionObject = conditionObject;
	}

	/**
	 * @return the pageObject
	 */
	public PageVO getPageObject() {
		return pageObject;
	}

	/**
	 * @param pageObject the pageObject to set
	 */
	public void setPageObject(PageVO pageObject) {
		this.pageObject = pageObject;
	}

	/**
	 * @return the taskId
	 */
	public String getTaskId() {
		return taskId;
	}

	/**
	 * @param taskId the taskId to set
	 */
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	/**
	 * @return the excelType
	 */
	public String getExcelType() {
		return excelType;
	}

	/**
	 * @param excelType the excelType to set
	 */
	public void setExcelType(String excelType) {
		this.excelType = excelType;
	}

	/**
	 * @return
	 */
	public Integer getTotalCount() {
		return totalCount;
	}

	/**
	 * @param totalCount
	 */
	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	/**
	 * @return
	 */
	public String getFileStore() {
		return fileStore;
	}

	/**
	 * @param fileStore
	 */
	public void setFileStore(String fileStore) {
		this.fileStore = fileStore;
	}

	/**
	 * @return
	 */
	public long getFileSize() {
		return fileSize;
	}

	/**
	 * @param fileSize
	 */
	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	/**
	 * @return
	 */
	public String getFileName() {
		return fileName;
	}

	/**
	 * @param fileName
	 */
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	/**
	 * @return
	 */
	public String getUserLanguage() {
		return userLanguage;
	}

	/**
	 * @param userLanguage
	 */
	public void setUserLanguage(String userLanguage) {
		this.userLanguage = userLanguage;
	}

	/**
	 * @return
	 */
	public Map<String, Object> getParameters() {
		return parameters;
	}

	/**
	 * @param parameters
	 */
	public void setParameters(Map<String, Object> parameters) {
		this.parameters = parameters;
	}
	
	
}
